<?php /* Smarty version Smarty-3.1.13, created on 2013-12-25 20:38:42
         compiled from "E:\Apache\www\hyqx\templates\default\channel\default.htm" */ ?>
<?php /*%%SmartyHeaderCode:3206052b67b2a6c54f2-99720982%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '1a0d31dbac339198511e363a05312742347d1609' => 
    array (
      0 => 'E:\\Apache\\www\\hyqx\\templates\\default\\channel\\default.htm',
      1 => 1387975077,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '3206052b67b2a6c54f2-99720982',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_52b67b2a7b2885_17071103',
  'variables' => 
  array (
    'channel_id' => 0,
    'channelinfo' => 0,
    'offset' => 0,
    'info' => 0,
    'list' => 0,
    'v' => 0,
    'k' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_52b67b2a7b2885_17071103')) {function content_52b67b2a7b2885_17071103($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_truncate')) include 'E:\\Apache\\www\\hyqx\\admin\\include\\smarty\\libs\\plugins\\modifier.truncate.php';
?><?php echo $_smarty_tpl->getSubTemplate ('../common/header.htm', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<div class="main">
<div class="con">
<?php $_smarty_tpl->smarty->_tag_stack[] = array('channel', array('channel_id'=>$_smarty_tpl->tpl_vars['channel_id']->value)); $_block_repeat=true; echo channel(array('channel_id'=>$_smarty_tpl->tpl_vars['channel_id']->value), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>

<?php if ($_smarty_tpl->tpl_vars['channelinfo']->value['error_page']=='true'){?>
 <script language='javascript'> window.location.href='<?php echo $_smarty_tpl->tpl_vars['channelinfo']->value['error_page_url'];?>
';</script>;
<?php }?>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo channel(array('channel_id'=>$_smarty_tpl->tpl_vars['channel_id']->value), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>

 <div class="column-con column-c-1">
    <?php $_smarty_tpl->smarty->_tag_stack[] = array('arcpagelist', array('channel_id'=>$_smarty_tpl->tpl_vars['channel_id']->value,'offset'=>$_smarty_tpl->tpl_vars['offset']->value,'limit'=>'18')); $_block_repeat=true; echo arcpagelist(array('channel_id'=>$_smarty_tpl->tpl_vars['channel_id']->value,'offset'=>$_smarty_tpl->tpl_vars['offset']->value,'limit'=>'18'), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>

  <div class="title list-title"><a href="<?php echo $_smarty_tpl->tpl_vars['info']->value['url'];?>
"><?php echo $_smarty_tpl->tpl_vars['info']->value['channel_name'];?>
</a></div>
 <ul class="c-ul blocks-ul">
  <?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){
$_smarty_tpl->tpl_vars['v']->_loop = true;
?> 
   <li>
     <a href="<?php echo $_smarty_tpl->tpl_vars['v']->value['url'];?>
" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['v']->value['title'];?>
"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['v']->value['title'],"40","...");?>
</a>
     <span class="c-ul-time c-span">(<?php echo $_smarty_tpl->tpl_vars['v']->value['publish_time'];?>
)</span>
     <span class="c-ul-num c-span">[阅读：<?php echo $_smarty_tpl->tpl_vars['v']->value['click_time'];?>
次]</span>
   </li>
   <?php } ?> 
   </ul>
<div class='page_navigator'>
 <span class='article_num'>共有文章<?php echo $_smarty_tpl->tpl_vars['info']->value['article_num'];?>
篇</span><?php echo $_smarty_tpl->tpl_vars['info']->value['article_home'];?>

 <?php echo $_smarty_tpl->tpl_vars['info']->value['pre_page'];?>

 <?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['info']->value['pages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){
$_smarty_tpl->tpl_vars['v']->_loop = true;
?>
 <?php echo $_smarty_tpl->tpl_vars['v']->value;?>

 <?php } ?>
 <?php echo $_smarty_tpl->tpl_vars['info']->value['next_page'];?>

 <?php echo $_smarty_tpl->tpl_vars['info']->value['last_page'];?>

 </div> <!--page_navigator end-->
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo arcpagelist(array('channel_id'=>$_smarty_tpl->tpl_vars['channel_id']->value,'offset'=>$_smarty_tpl->tpl_vars['offset']->value,'limit'=>'18'), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
 
 </div><!--column-con-->
</div><!--con-->
<div class="side side-dwgk">
   <div class="c-blocks" id="dwgk">
   <?php $_smarty_tpl->smarty->_tag_stack[] = array('channel', array('channel_id'=>$_smarty_tpl->tpl_vars['channel_id']->value)); $_block_repeat=true; echo channel(array('channel_id'=>$_smarty_tpl->tpl_vars['channel_id']->value), null, $_smarty_tpl, $_block_repeat);while ($_block_repeat) { ob_start();?>

      <div class="title"><?php echo $_smarty_tpl->tpl_vars['channelinfo']->value['channel_name'];?>
 </div><!--title-->
      <ul class="column-ul">
       <?php  $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['k']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['channelinfo']->value['child_channel_infor']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['k']->key => $_smarty_tpl->tpl_vars['k']->value){
$_smarty_tpl->tpl_vars['k']->_loop = true;
?>
        <li><a href="<?php echo $_smarty_tpl->tpl_vars['k']->value['url'];?>
"><?php echo $_smarty_tpl->tpl_vars['k']->value['channel_name'];?>
</a></li>
      <?php } ?>
<?php $_block_content = ob_get_clean(); $_block_repeat=false; echo channel(array('channel_id'=>$_smarty_tpl->tpl_vars['channel_id']->value), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack);?>
</ul>
   </div><!--dwgk-->
</div><!--side-->
<div class="clear"></div><!--clear-->
</div><!--main-->
<?php echo $_smarty_tpl->getSubTemplate ('../common/footer.htm', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<?php }} ?>